"use strict";

;(function () {
  var userAgent = window.navigator.userAgent;
  var ios = !!userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);

  if (ios) {
    window.onpageshow = function (event) {
      if (event.persisted) {
        window.location.reload();
      }
    };
  }
})();